package com.shuangk.majingze.coolpapa.contract.user;


import android.content.Context;

import com.shuangk.majingze.coolpapa.activity.BaseView;
import com.shuangk.majingze.coolpapa.model.User;
import com.shuangk.majingze.coolpapa.presenter.BasePresenter;

public interface LoginContract {

    interface View extends BaseView<Presenter> {
        void showLoading();

        void dismissLoading();

        User getUser();

        void toMainPager();

        Context getContext();

        void showMessage(String message);
    }

    interface Presenter extends BasePresenter {
        void login();
    }

}
